import java.util.Random;
import java.util.Scanner;

public class NormalUser extends User{
    Scanner scanner = new Scanner(System.in);

    public void borrow(String name){
        System.out.println("用户借阅了"+"name");
    }
    public NormalUser(String name, int age) {
        super(name, age);
    }

    @Override
    int menu() {
        System.out.println("普通用户界面.......");
        System.out.println("1.查看图书.......");
        System.out.println("2.借阅图书.......");
        return scanner.nextInt();
    }
}
